﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMSSoft.Lib.Basic
{
    public class CDataItem
    {
        string m_Value1 = "";
        string m_Value2 = "";
        int m_ItemIndex = -1;

        public CDataItem(string Value1, string Value2)
        {
            m_Value1 = Value1;
            m_Value2 = Value2;
        }

        public CDataItem(string Value1, string Value2, int ItemIndex)
        {
            m_Value1 = Value1;
            m_Value2 = Value2;
            m_ItemIndex = ItemIndex;
        }

        public string Value1
        {
            get { return m_Value1; }
            set { m_Value1 = value; }
        }

        public string Value2
        {
            get { return m_Value2; }
            set { m_Value2 = value; }
        }

        public int ItemIndex
        {
            get { return m_ItemIndex; }
            set { m_ItemIndex = value; }
        }
    }
}
